package com.lixin.springcloudalibaba.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "payment-provider", fallback = PaymentFallbackService.class)
public interface PaymentService {

    @GetMapping("/pay")
    public String pay();

}
